import request from '@/utils/request'

export function driverList() {
  return request({
    url: '/driver/list',
    method: 'get'
  })
}

export function driverAdd(data){
    return request({
      url: '/driver/add',
      method: 'post',
      data
    })
}

export function driverDelete(data){
    return request({
      url: '/driver/delete',
      method: 'post',
      data
    })
}

export function driverEdit(data){
    return request({
      url: '/driver/edit',
      method: 'post',
      data
    })
}

export function driverSelect(data){
    return request({
      url: '/driver/select',
      method: 'post',
      data
    })
}
